package com.cjh.wechat.websocket.dao;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import com.cjh.wechat.commom.pojo.Group;

public interface GroupDao
{
    public int deleteByPrimaryKey(Integer no);
    
    public int insert(Group record);
    
    public int insertSelective(Group record);
    
    public Group selectByPrimaryKey(Integer no);
    
    public int updateByPrimaryKeySelective(Group record);
    
    public int updateByPrimaryKey(Group record);
    
    public Group findById(String id);
    
    public List<Group> search(@Param(value = "id") String id, //
            @Param(value = "startNum") Integer startNum, @Param(value = "endNum") Integer endNum);
    
    public int getSearchNum(@Param(value = "id") String id);
    
    public Group getByGid(String gid);
    
}
